package ${package}.${rootArtifactId}.controller.system;

import ${package}.${rootArtifactId}.common.model.Result;
import ${package}.${rootArtifactId}.model.vo.MenuVO;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.ArrayList;
import java.util.List;

/**
 * @author weidong.lin
 * @date 2021-07-07 15:16:28
 **/
@Controller
@RequestMapping("wapi/menus")
public class MenuController {

    @RequestMapping("{moduleId}")
    @ResponseBody
    public Result menus() {
        List<MenuVO> menus = new ArrayList<>(4);
        menus.add(new MenuVO("1", "账号管理", "#/account/accountPage"));

        return Result.success(menus);
    }

}
